﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class playmethod : MonoBehaviour
{
    private GameObject home;
    public GameObject method;
    // Start is called before the first frame update
    void Start()
    {
       home = gameObject.transform.parent.gameObject;
    }

    public void MouseDown() {
        home.SetActive(false);
        method.SetActive(true);
    }
}
